package com.itheima.interface1.homework.text6;
/*
定义狗类 行为:吃饭(啃骨头)和 游泳(狗刨)
 */
public class Dog extends Animal implements Swim {
    public Dog() {
    }

    public Dog(int age) {
        super(age);
    }

    @Override
    public void eat(String something) {

    }

    @Override
    public void swimming(String something) {

    }
}
